package com.weaver.openapi.main;

import com.weaver.openapi.pojo.auth.params.*;
import com.weaver.openapi.service.*;
import java.util.*;
import cn.hutool.json.*;
import com.weaver.openapi.pojo.auth.res.*;

public class OpenApiMain
{
    public static void main(final String[] args) {
        final CodeParam codeParam = new CodeParam("761c0c2adef135237006631fc33cc7db", "code", "lory12345678");
        final Code code = AuthService.getAuthCode(codeParam, "https://api.eteams.cn", null);
        System.out.println(JSONUtil.toJsonStr((Object)code, JSONConfig.create()));
    }
}
